3 Andrés Mejía-Posada (andmej@gmail.com)
27 #define foreach(x, v) for (typeof (v).begin() x = (v).begin(); x != (v).end(); ++x)
28 #define For(i, a, b) for (int i=(a); i<(b); ++i)
29 #define D(x) cout << #x " is " << x << endl
34 long long i
= (n
-1)*(n
-1)/4 + n
- 3;
35 cout
<< 6*i
+ 9 << endl
;